﻿using System;
using System.Linq;
using System.Text;

namespace shserver
{
    class SHError
    {
        private int _code;
        private string _error;

        public SHError(int code, string error)
        {
            this.setCode(code);
            this.setError(error);
        }

        private void setCode(int code)
        {
            this._code = code;
        }
        private void setError(string error)
        {
            this._error = error;
        }

        public int getCode()
        {
            return this._code;
        }
        public string getError(){
            return this._error;
        }

    }
}
